/* --------公共代码段---------- */
body{
    margin:0;
    padding:0;
}
ul,ol{
    list-style: none;
    margin: 0;
    padding: 0;
}
/* 清除浮动 */
.clearfix:after{
    content: '';
    display: block;
    clear: both;
    zoom: 1;
    height: 0;
}
/* 版心 */
.container{
    width: 1200px;
    margin: 0 auto;
}
.fl{
    float: left;
}
.fr{
    float: right;
}
/* -----------头部样式------------- */
header{
    height: 40px;
    background-color: rgb(174, 191, 248);
}
.head{
    height: 100%;
}
.logo{
    float: left;
    background-color: rgb(255, 183, 135);
    height: 100%;
    width: 40px;
}
.nav{
    float: left;
    background-color: rgb(255, 183, 135);
    height: 40px;
    width: 600px;
    margin-left:200px ;
}
.search{
    float: right;
    background-color: rgb(255, 183, 135);
    height: 40px;
    width: 200px;
}
/* ----------banner样式------------- */
.banner{
    margin-top: 30px;
    height: 500px;
    outline: 1px solid red;
    position: relative;
}
.category{
    width: 300px;
    height: 500px;
    background-color: rgb(135, 162, 250);
    opacity: 0.6;
    /* float: left; */
    position: absolute;
    left: 0;
    top: 0;
}
.swiper{
    width: 1200px;
    height: 500px;
    background-color: rgb(162, 240, 197);
}
/* ------------推荐商品样式remommends----------- */
.remommends{
    margin-top: 30px;
}
.re-item{
    height: 250px;
    width: 250px;
    background-color: rgb(194, 236, 174);
    float: left;
    outline: 1px solid red;
    margin-right:66px ;
}
.re-item:last-child{
    margin-right:0 ;
}
/* -----------home-banner------------  */
.home-banner {
    height: 200px;
    background-color: rgb(223, 80, 80);
    margin-top: 30px;
}
/* -------hot-goods ------------*/
.hot-goods{
    margin-top: 30px;
    outline: 1px solid red;

}
.hot-con{
    width: 550px;
    height: 400px;
    background-color: rgb(141, 142, 240);
    float: left;
}
.hot-con:last-child{
    float: right;
}
.hot-item{
    width: 150px;
    height: 180px;
    background-color: rgb(208, 236, 141);
    outline: 1px solid red;
    float: left;
    margin-right: 50px;
}
.hot-item:nth-child(3n){
    margin-right: 0;
}
.hot-item:nth-child(n+4){
    margin-top: 40px;
}
.sell-goods{
    margin-top: 30px;
}
.sell-goods-con{
    width: 550px;
    height: 300px;
    background-color: rgb(131, 189, 212);
    outline: 1px solid red;
}
.sell-big-item{
    height: 100%;
    width: 250px;
    outline: 1px solid red;
    background-color: rgb(34, 97, 139);
}
/* -------尾部---------- */
footer{
    background-color: rgb(174, 191, 248);
    margin-top: 30px;
}
.foot{
    height: 200px;
    background-color: rgb(153, 84, 84);
}
.foot-item{
    float: left;
    height: 200px;
    width: 200px;
    background-color: rgb(178, 168, 223);
    margin-right: 40px;
}
.foot-item:last-child{
    margin-right:0 ;
}
.fixed{
    width: 50px;
    height: 300px;
    background-color: rgb(174, 245, 189);
    position: fixed;
    right: 20px;
    bottom: 300px;

}
.fixed-item{
    height: 50px;
    margin-top: 20px;
    background-color: rgb(238, 126, 126);
}
.back-top{
    color: white;
    font-weight: bold;
    text-align: center;
    display: inline-block;
    background-color: rgb(167, 156, 156);
    letter-spacing: 5px;
    text-decoration: none;
    height: 50px;
}


